﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Bjdb.aspx.cs" Inherits="Xnjc_Bjdb" %>

<html>
<head runat="server">
    <link href="../css/page.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../ScriptFile/meizzDate.js"></script>

    <script type="text/javascript">

        function tosubmit(page) {
            var strUrl = "Bjdb.aspx";
            strUrl += "?Date_begin=" + document.all.Date_begin.value;
            strUrl += "&Date_end=" + document.all.Date_end.value;
            if (page == "" || page == null)
                strUrl += "&pagenow=" + document.all.jumpPage.value;
            else
                strUrl += "&pagenow=" + page;


            strUrl += "&s_worktype=" + document.all.s_worktype.value;
            strUrl += "&st_lctype=" + document.all.st_lctype.value;
            strUrl += "&checkbox1=" + document.all.checkbox1.checked;
            strUrl += "&checkbox2=" + document.all.checkbox2.checked;
            strUrl += "&checkbox3=" + document.all.checkbox3.checked;
            window.location.href = strUrl;
        }
    </script>

</head>

<body>
    <form>
    <div class="tab_top">
        <div class="tab_top_left">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="right">
                        <select name="s_worktype" style="width: 150px">
                            <%=strhtml1   %>
                        </select>
                        <input name="Date_begin" type="text" readonly="readonly" size="10" value="<%=d_s%>"
                            onfocus="setday(this)" />
                        <input name="Date_end" type="text" readonly="readonly" size="10" value="<%=d_e%>"
                            onfocus="setday(this)" />
                        <select name="st_lctype">
                            <option value="2" <%=((type.Equals("2"))?"selected":"")%>>未办结</option>
                            <option value="1" <%=((type.Equals("1"))?"selected":"")%>>办结</option>
                        </select>
                        <input type="checkbox" name="checkbox1" value="1" <%=tag1%> />
                        业务超期
                        <input type="checkbox" name="checkbox2" value="2" <%=tag2%> />
                        岗位超期
                        <input type="checkbox" name="checkbox3" value="3" <%=tag3%> />
                        挂起
                        <input type="submit" class="NewButton" name="Submit" value="查询" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tab"
        style="margin-top: 0px; padding-top: 0px;">
        <tr>
            <th nowrap>
                <div align="center">
                    业务流水号</div>
            </th>
            <th nowrap>
                <div align="center">
                    <span>业务类型</span></div>
            </th>
            <th nowrap>
                <div align="center">
                    申请人</div>
            </th>
            <th nowrap>
                <div align="center">
                    <span>收件时间</span></div>
            </th>
            <th nowrap>
                <div align="center">
                    在办结点</div>
            </th>
            <th nowrap>
                <div align="center">
                    <span>在办人</span></div>
            </th>
            <th nowrap>
                <div align="center">
                    办理时限</div>
            </th>
            <th nowrap>
                <div align="center">
                    <span>已用时间</span></div>
            </th>
            <th nowrap>
                <div align="center">
                    整体超时</div>
            </th>
            <th nowrap>
                <div align="center">
                    部分超时</div>
            </th>
            <th nowrap>
                <div align="center">
                    挂起</div>
            </th>
            <th nowrap>
                <div align="center">
                    详细信息</div>
            </th>
        </tr>
        <%=strhtml2     %>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="4">
        <tr>
            <td align="right" colspan="8" height="20">
                每页<%=mypage.EveryPageSize%>行 共<%=mypage.RecordCount%>行 当前第<%=pagenow%>页 共<%=pagecount%>页
                <%
                    if (pagenow == 1)
                    {
                        Response.Write(" 首页 上一页");
                    }
                    else
                    {
		
                %>
                <a href="javascript:tosubmit('1')">首页</a> <a href="javascript:tosubmit('<%=pagenow - 1%>')">
                    上一页</a>
                <%
                    }
	
                %>
                <%
                    if (pagenow == pagecount)
                    {
                        Response.Write("下一页 尾页");
                    }
                    else
                    {
		
                %>
                <a href="javascript:tosubmit('<%=pagenow + 1%>')">下一页</a> <a href="javascript:tosubmit('<%=pagecount%>')">
                    尾页</a>
                <%
                    }
	
                %>
                转到第<select name="jumpPage" id="jumpPage" onchange="tosubmit()">
                    <%
                        for (int i = 1; i <= pagecount; i++)
                        {
                            if (i == pagenow)
                            {
			
                    %>
                    <option selected value="<%=i%>">
                        <%=i%>
                    </option>
                    <%
                        }
                            else
                            {
			
                    %>
                    <option value="<%=i%>">
                        <%=i%>
                    </option>
                    <%
                        }
                        }
	
                    %>
                </select>
            页
        </tr>
    </table>
    <p>
        <p>
            &nbsp;</p>
    </form>
</body>
</html>
